.TH E1432_SET_ARM_CHANNEL 3 E1432
.SH NAME
.nf
e1432_set_arm_channel \- Select a tach channel as the arm channel
e1432_get_arm_channel \- Get the current arm state of a tach channel
.fi
.IX e1432_set_arm_channel(3) 3
.IX e1432_get_arm_channel(3) 3
.SH SYNOPSIS
.cS
SHORTSIZ16 e1432_set_arm_channel(E1432ID hw, SHORTSIZ16 ID,
                                 SHORTSIZ16 state)
SHORTSIZ16 e1432_get_arm_channel(E1432ID hw, SHORTSIZ16 ID,
                                 SHORTSIZ16 *state)
.cE
.SH DESCRIPTION
\fIe1432_set_arm_channel\fR enables/disables a single tach channel as the 
arming and pre-arming channel for RPM armed measurements. 

\fIe1432_get_arm_channel\fR returns the arming state of a tachometer channel
into a memory location pointed to by \fIchanID\fR.

\fIhw\fR must be the result of a successful call to
\fIe1432_assign_channel_numbers\fR, and specifies the group of
hardware to talk to.

\fIID\fR is the ID of a single tachometer channel.

\fIstate\fR enables or disables the tach channel as the arming channel.
The legal values of this parameter are \fBE1432_CHANNEL_ON\fR and 
\fBE1432_CHANNEL_OFF\fR.

In the RPM arming modes (\fBE1432_ARM_RPM_RUNUP\fR,
\fBE1432_ARM_RPM_RUNDOWN\fR, and \fBE1432_ARM_RPM_DELTA\fR) the arm
channel and the active trigger channel must be the same, otherwise an
error will be reported.
.SH "RESET VALUE"
After a reset, the first tachometer channel is set to \fBE1432_CHANNEL_ON\fR.
.SH "RETURN VALUE"
Return 0 if successful, a (negative) error number otherwise.
.SH "SEE ALSO"
.na
e1432_set_trigger_channel, e1432_set_trigger_mode, e1432_set_arm_mode,
e1432_set_pre_arm_mode
.ad
